html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: url("../images/login_bg.jpg") no-repeat center;
    background-size: cover;
}


.logAndReg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 380px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.4);
}
.title-box {
    height: 60px;
    background: url("../images/login_title.png") no-repeat center;
}

.reg-box {
    display: none;
}
.layui-form {
    padding: 0 50px;
}
.layui-form-item {
    position: relative;
    margin: 24px 0;
}
.layui-form-item .layui-icon {
    position: absolute;
    left: 10px;
    top: 10px;
}
.layui-input {
    padding-left: 32px;
}
.link {
    display: flex;
    justify-content: flex-end;
}